package com.boco.pciv.mapper.sys;

import com.boco.pciv.entity.sys.ResInfo;
import com.boco.pciv.core.mapper.PcivBaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 资源信息表
 * 
 * @author pciv
 * @email pciv@boco.com.cn
 * @date 2018-07-10 08:56:41
 */
@Mapper
public interface IResMapper extends PcivBaseMapper<ResInfo,String> {
    List<ResInfo> queryListByUser(String userId);
    List<ResInfo> queryListByRole(String roleId);
    List<ResInfo> queryListByUserLevelOne(String userId);
	List<String> queryIdListByRole(String roleId);
}
